package org.phantom.securityframework.api.exception;

import org.apache.shiro.authc.AuthenticationException;

@SuppressWarnings("serial")
public class UnuniqueRealmException extends AuthenticationException {

    public UnuniqueRealmException() {
        super();
    }
    public UnuniqueRealmException(String message) {
        super(String.format("There is more than one realm been found for %s,please explicitly assign!",message));
    }
    public UnuniqueRealmException(Throwable cause) {
        super(cause);
    }
    public UnuniqueRealmException(String message, Throwable cause) {
        super(message, cause);
    }
}
